home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / Wos.EXE / 2015 / models / camera.def < prev    next >
Encoding:
Text File  |  1999-02-24  |  1.5 KB  |  42 lines

  1. SDEF
  2. path models/camera
  3. scale 1.0
  4. camera_base.tga
  5. camera_base.sbm
  6. camera_idle.SAM
  7. lighton camera_idle.sam
  8. lightoff camera_idle.sam
  9.  
  10. id 10 group light fullbright
  11.  
  12. !init:
  13. server classname object
  14. server flags +darken +explode +die_shatter
  15.  
  16. !main:
  17. server lighton first group light -nodraw
  18. server lightoff first group light +nodraw
  19.  
  20. /*SINED func_securitycamera (1 0 0) (0 0 0) (0 0 0) ORBIT START_ON PAN
  21.  
  22. Camera used for security etc.
  23. Has visible model.
  24.  
  25. "target" points to the target to orbit or follow.  If it points to a path, the camera will follow the path.
  26. "distance" the distance to follow or orbit if the target is not a path. (default 128).
  27. "speed" specifies how fast to move on the path or orbit.  (default 1).
  28. "fov" specifies fov of camera, default 90.
  29. "yaw" specifies yaw of camera, default 0.
  30. "height" specifies height of camera from origin, default 128.
  31. "panspeed" speed at which to pan ( 7 degrees per second )
  32. "panmax" maximum angle offset for panning ( 45 degrees )
  33. "nextcamera" a link to the next camera in a chain of cameras
  34. "overlay" an overlay to use while looking through the camera
  35. "thread" a thread label that will be fired when the camera is looked through
  36.  
  37. ORBIT tells the camera to create a circular path around the object it points to.  It the camera points to a path, it will loop when it gets to the end of the path.
  38. START_ON causes the camera to be moving as soon as it is spawned.
  39. PAN camera should pan from right to left
  40.  
  41. */
  42.